import request from '@/utils/request';
const access_token = sessionStorage.getItem('token');

export async function getCourseList(params?: IStudentParams): Promise<IStudentResponse> {
    // console.log(params);
    return request('/api2/course/getCourseGroupList', { 
      headers: {
        access_token,
      }, 
    });
  }